package com.lazy.book.service.system;

import com.lazy.book.pojo.system.pojo.po.SysUserRole;
import com.mybatisflex.core.service.IService;

import java.util.List;
import java.util.Set;

/**
 * @author lay
 * @since 2025-09-05
 */
public interface SysUserRoleService extends IService<SysUserRole> {

    void batchInsert(Long userId, List<Long> roleIds);

    List<Long> getRoleIdsByUserId(Long userId);

    Set<String> getRoleKeysByUserId(Long userId);

    Set<String> getRoleNamesByUserId(Long userId);
}
